﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.DTO
{
    public class CaPayRelation
    {
        public Int32 ID { get; set; }
        public Guid KeyGUID { get; set; }
        public String CorpName { get; set; }
        public String iTitle { get; set; }
        public String Title { get; set; }
        public Guid CorpUserGuid { get; set; }
        public String AreaCode { get; set; }
        public String LinkPerson { get; set; }
        public String SendAddress { get; set; }
        public String officeTel { get; set; }
        public String mobileTel { get; set; }
        public String postcode { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? RegisterDate { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? RegisterDate1 { get; set; }
        public Byte bCAStatus { get; set; }
        public String Code { get; set; }
        public Double? Sum { get; set; }
        public Double? SumPay { get; set; }
        public String bCAKind { get; set; }
        public String ProCode { get; set; }
        public Boolean? IsAudit { get; set; }
        public String GroupCode { get; set; }
        public String GroupName { get; set; }
        public Guid? InvoiceGUID { get; set; }
        public String InvoiceCode { get; set; }
        public String Notice { get; set; }
        public Decimal? InvoiceSumPay { get; set; }
        public String InvoiceTitle { get; set; }
        public String InvoicePsCode { get; set; }
        public String InvoiceSendAddress { get; set; }
        public String InvoiceLinkMan { get; set; }
        public String InvoiceTel { get; set; }
        public String InvoiceMtel { get; set; }
        public DateTime? InvoiceDate { get; set; }
        public String FlowCode { get; set; }
        public String StrStatus { get; set; }

        public Int32? SendType { get; set; }
        public String TaxCode { get; set; }
        public String BankName { get; set; }
        public String BankCode { get; set; }
        public Byte? InvoiceOptType { get; set; }
        public Byte? InvoiceType { get; set; }
        public Int32? InvoiceStatus { get; set; }
        public String InvoiceContent { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? IsrtDate { get; set; }
        public String AreaCode1 { get; set; }
        public String CurrentAreaCode { get; set; }
    }
}
